<template>
	<view class="return">
		<page-head :title="title"></page-head>
		<textarea class="text" v-model="content" auto-height placeholder="在此输入" />
		<button class="btn" type="primary" size="mini" @click="handleSubmit">提交</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '反馈意见',
				content: ''
			}
		},
		methods: {
			handleSubmit() {
				console.log(this.content);
				uni.showToast({
					title: '成功提交'
				})
			}
		}
	}
</script>

<style>
	.return {
		padding: 20px;
	}
	
	.text {
		margin-top: 20px;
		border: 1px solid #e0e0e0;
		line-height: 1.5em;
	}
	
	.btn {
		margin-top: 30px;
	}
</style>
